package com.woniuxy.exam.mapper;

import com.woniuxy.exam.entity.Movies;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Optional;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lzj
 * @since 2023-10-31
 */
public interface MoviesMapper extends BaseMapper<Movies> {


    Optional<Object> findById(Integer movieId);

    double getMoviePrice(int movieId);
}
